package com.iplatform.iplatformuser.privilege.feign;

import com.iplatform.module.privilege.PriManagerBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


/**
 * 获取用户信息
 * @author heng
 *
 */
@FeignClient("oauth-center")
public interface AuthCenter {

	@RequestMapping(value = "/user-me", method = RequestMethod.GET)
	public PriManagerBean principal(PriManagerBean priManagerBean);
}
